//out:../css/
@import "/css/reset.css";
@import "/css/common.css";
/* 统一样式 */
body {
    line-height: 2;
}
button {
    cursor: pointer;
}

a {
    color: #37a;
    line-height: 18px;
    &:hover {
        color: #fff;
        background: #37a;
    }
    &:active {
        color: #fff;
        background: #f93;
    } 
}
a.new{
    position: relative;
}
a.new::after{
    position: absolute;
    top: 0px;
    right: -20px;
    content: "";
    background: url('/img/new_menu.gif') no-repeat;
    width: 17px;
    height: 17px;
}
/* 首页通用样式 */
.container {
    width: 950px;
    margin: 0 auto;
    /* background-color: antiquewhite; */
 }
 .section{
    margin: 35px 0;
    &:nth-child(2n){
        background-color: #f7f7f7;;
    }
    .container{
        display: flex;
        justify-content: space-between;
    }
    .main{
        flex: 1;
    }
    .aside-right{
        width: 265px;
        margin-left: 30px;
    }
    .aside-left{
        width: 100px;
        margin-right: 20px;
        .title{
            font-size: 24px;
            line-height: 48px;
        }
        .dark-color {
            color: #494949;
        }
       
    }
 }
 .section-title{
    margin:12px 0;
    display: flex;
    .title{
        color: #072;
        font-size: 15px;
        &::after{
            content: " · · · · · · ";
        }
    }
    .link{
        color: #111;
        font-size: 12px;
        &::before{
            content: " (";
        }
        &::after{
            content: ")";
        }
    }
 }
//豆瓣时间
.item-list{
    display: flex;
    flex-wrap: wrap;
    li{
     width: 100px;
     margin-right: 60px;
     margin-bottom: 30px;
     font-size: 13px;
     text-align: center;
     a{
         color: #333;
     }
     img{
         width: 100%;
     }
    span{
         display: block;
         color: #999;
     }
}
}
.item-list2{
    display: flex;
    flex-wrap: wrap;
    li{
        display: flex;
       font-size: 13px;
       text-align: center;
       margin-bottom: 23px;
       a{
        margin-right: 15px;
        img{
            width: 100%;
        }
    }
       .words{
            text-align: left;
            span{
                display: block;
                color: #999;
                font-size: 12px;
            }
       } 
}
}
.left-menu{
    ul{
        li{
           font-size: 14px; 
        }
    }
}
.right-menu-list{
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    li{
        width: 48px;
        height: 24px;
    }
}
.order-movie-list{
    font-size: 12px;
    li{
        margin-bottom: 6px;
        border-bottom: 1px solid #eaeaea;
        list-style-type: decimal;
        list-style-position: inside;
        a{
            margin-left: 2px;
        }
    }
}
.star{
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #e09015;
    margin-top: -8px;
    margin-left: 8px;
    .bg{
        width: 55px;
        height: 11px;
        background: url('/img/star-bg.png') no-repeat left top/100%;
        background-position: 0 0;
    }
}

//  头部区域
 .header{
    display: flex;
    height: 90px;
    padding-top: 30px;
    box-sizing: border-box;
    .logo{
        width: 154px;
        display: inline-block;
        margin-right: 30px;
        img{
            width: 100%;
        }
    }
    .ipt{
        position: relative;
        input{
            width: 240px;
            height: 20px;
            font-size: 13px;
            padding: 5px;
            border: 1px solid  rgb(204, 214, 227); 
         }
         i{
            position: absolute;
            top: 8px;
            right: 9px;
       }
        
    }
    .menu{
        display: flex;
        margin-left: 40px;
        li a{
            margin-right: 20px;
            display: block;
            width: 40px;
            height: 20px;
            /* background-color: aquamarine; */
            background-size: 40px 20px;
            background: url('/img/nav_logo.png') no-repeat left top/463px 20px  ;
        }
        .menu-read{
            background-position: 0 0;
        }
        .menu-movie{
            background-position: -300px 0;
        }
        .menu-music{
            background-position: -360px 0;
        }
        .menu-group{
            background-position: -60px 0;
        }
        .menu-doupin{
            background-position: -120px 0;
        }
        .menu-city{
            background-position: -180px 0;
        }
        .menu-fm{
            background-position: -240px 0;
        }
        .menu-time{
            background-position: -420px 0;
            width: 43px;
        }
    }
}
/* banner区域 */
.banner{
    height: 304px;
    background:  #edf4ed url(/img/banner-bg.jpg) no-repeat 120px top/contain;
    /* box-sizing: border-box; */
    .container{
        display: flex;
        justify-content: end;
        .slogan{
            position: relative;
            padding-top: 100px;
            padding-right: 45px;
            span{
                font-size: 25px;
                color: #111;
            }
            button{
                width: 115px;
                height: 30px;
                background: #41ac52;
                color: #fff;
                margin-top: 40px;
                border-radius: 3px;
            }
            .qrcode{
                display: inline-block;
                 width: 28px;
                 height: 28px;
                 border: 1px solid #41ac52;
                 vertical-align: bottom;
                 img{
                    width: 100%;
                }
                 &:hover .qrcode-img {
                        display: block;
                    }
             }
             
            .qrcode-img{
                position: absolute;
                top: 165px;
                left: 118px;
                width: 200px;
                padding: 15px;
                background-color: #fff;
                border-radius: 3px;
                box-sizing: border-box;
                 display: none;
                img{
                    width: 100%;
                }
                p{
                    color: #666;
                    font-size: 13px;
                    text-align: center;
                }
            }
        }
        .login{
            width: 300px;
            height: 300px;
            background-color: antiquewhite;
        }
        .loginarea{
            width: 300px;
            height: 300px;
        }
    }
}
.section{
    .container{
        .main{
            .hot-main{
                display: flex;
                .left{
                    width: 350px;
                    text-align: left;
                     li{
                         width: 170px;
                          display: inline-block;
                         font-size: 12px;
                         margin: 10px 0;
                         margin-right: 2px;
                         vertical-align: top;
                     a{
                         img{
                             width: 100%;
                         }
                     }
                     .word{
                         width: 170px; 
                         line-height: 18px;
                     }
                     span{
                         color: #999;
                     }
                     }
                 }
                 .right{
                     width: 275px;
                     font-size: 12px;
                     line-height: 18px;
                     margin-left: 27px;
                     li{
                         margin-bottom: 10px;
                         div{
                             color: #999;
                             font-size: 12px;
                         }
                         p{
                             color: #666;
                         }
                     }
                 }
            } 
        }
         //视频
         .video-main{
            .item-list{
                li{
                   width: 250px;
                   margin-right: 30px;
                   margin-bottom: 0;
                   text-align: left;
                 a{
                    color: #37a;
                 }
                 &:nth-child(3n){
                    margin-right: 0;
                 }
                }
            }
        }
        .aside-right{
            img{
                width: 100%;
            }
            .hot-list{
                li{
                    margin-bottom: 15px;
                    a{
                        font-size: 14px;
                    }
                    span{
                        font-size: 13px;
                        color: #aaaaaa;
                    }
                }
            }
        }
    }
    .movie-area{
        padding-top: 35px;  
     .item-list{
            li{
                margin-right: 38px;
                margin-bottom: 10px;
                &:nth-child(4n){
                    margin-right: 0;
                }
                .words{
                    color: #37a;
                    display: inline-block;
                    max-width: 100%;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                     margin-bottom: 4px;
                }
                .func{
                    .link{
                        padding: 2px 10px;
                        border-radius: 2px;
                        background: #1c8bd0;
                        color: #fff;
                    }
                }
            }
       }
    } 
    .group-area{
        .main{
            .section-title{
                .link{
                    a{
                        color: #007982;
                    }
              }  
            }
            .item-list2{
                li{
                    width: 248px;
                    a{
                        width: 48px;
                        color: #007982;
                    }
                    &:nth-child(n){
                        margin-right: 17px;
                    }
                }
                
            }    
        }
        .aside-right{
            .group{
               .group-name{
                  a{
                      color: #333;
                      &::after{
                        content: "»";
                      }
                  }
               } 
               .right-menu-list{ 
                li{
                    span{
                        color: #999;
                    }
                    a{
                        color: #007982; 
                    }
                }
              }
            }
        }
    } 
    .book-area{
       .aside-left{
          .title,a{
            color: #494949;
          }
          .icon{
            margin-top:20px ;
            a{
               width: 50px;
               height: 50px;
               display: block;
               box-shadow: 1px 1px 2px #999;
               border-radius: 10px;
               background: url('/img/app_icons.jpg') no-repeat;
            }
            span{
                font-size: 12px;
            }
          }
       } 
       .main{
        .item-list{
            li{
                margin-right: 38px;
                &:nth-child(4n){
                    margin-right: 0;
                }
            }
        }
        .func{
            .link{
                font-size: 12px;
                background: #999a95;
                color: #fff;
                border-radius: 2px;
                padding:4px 6px;
             }
        }
       }
       .aside-right{
        .group{
             .right-menu-list{
            li{
                margin-right: 10px;
            }
            }
        }
       }
    }
}